﻿using System.Runtime.Serialization;

namespace ClientOverflow.DataTransferObjects
{
    /// <summary>
    /// Department class is a DTO representing location in the company departments. The DTO properties 
    /// contains the name of the department.
    /// The class is decorated with [DataContract] attribute and the properties are decorated with
    /// [DataMember] attributes. Using the decorations the class is compatible as data transfer object
    /// in the WCF service.
    /// </summary>
    [DataContract]
    public class Department
    {
        [DataMember]
        public string Name { get; set; }
    }
}